package com.example.demo.disruptor;

import com.lmax.disruptor.EventHandler;

/**
 * @Author: liull
 * @Description:
 * @Date: Created in 17:37 2021/3/31
 * @Modified By:
 */
public class LongEventHandler implements EventHandler<LongEvent> {
    @Override
    public void onEvent(LongEvent event, long sequence, boolean endOfBatch) throws Exception {
        System.out.println("Event: " + event.getValue() + "....sequence: " + sequence);
    }
}
